package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.WarehouseOutDetails;
import com.ruoyi.system.domain.vo.WarehouseOutDetailsVo;

/**
 * 出库明细表Mapper接口
 * 
 * @author ruoyi
 * @date 2023-05-26
 */
public interface WarehouseOutDetailsMapper 
{
    /**
     * 查询出库明细表
     * 
     * @param warehouseOutDetailsId 出库明细表主键
     * @return 出库明细表
     */
    public WarehouseOutDetails selectWarehouseOutDetailsByWarehouseOutDetailsId(String warehouseOutDetailsId);


    /**
     * 通过出库id，获取出库明细记录
     * @param warehouseOutId
     * @return
     */
    public List<WarehouseOutDetailsVo>  selectWarehouseOutDetailsListByWarehouseOutId(String warehouseOutId);

    /**
     * 查询出库明细表列表
     * 
     * @param warehouseOutDetails 出库明细表
     * @return 出库明细表集合
     */
    public List<WarehouseOutDetails> selectWarehouseOutDetailsList(WarehouseOutDetails warehouseOutDetails);

    /**
     * 新增出库明细表
     * 
     * @param warehouseOutDetails 出库明细表
     * @return 结果
     */
    public int insertWarehouseOutDetails(WarehouseOutDetails warehouseOutDetails);

    /**
     * 批量插入出库明细表
     * @param warehouseOutDetails
     * @return
     */
    public int insertBatchWarehouseOutDetailsIds(List<WarehouseOutDetailsVo> warehouseOutDetails);

    /**
     * 修改出库明细表
     * 
     * @param warehouseOutDetails 出库明细表
     * @return 结果
     */
    public int updateWarehouseOutDetails(WarehouseOutDetails warehouseOutDetails);

    /**
     * 删除出库明细表
     * 
     * @param warehouseOutDetailsId 出库明细表主键
     * @return 结果
     */
    public int deleteWarehouseOutDetailsByWarehouseOutDetailsId(String warehouseOutDetailsId);

    /**
     * 批量删除出库明细表
     * 
     * @param warehouseOutDetailsIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWarehouseOutDetailsByWarehouseOutDetailsIds(String[] warehouseOutDetailsIds);


    /**
     * 更具出库id，删除出库明细表
     *
     */
    public int deleteWarehouseOutDetailsByWarehouseOutId(String warehouseOutId);




}
